package com.xxgc.eow.service;

import com.xxgc.eow.entity.CollectCommentSecondary;
import com.xxgc.eow.entity.CollectSecondaryCommentSeconday;
import com.xxgc.eow.entity.Collectsecondarycomment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 收藏的二级评论表 服务类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-24
 */
public interface ICollectsecondarycommentService extends IService<Collectsecondarycomment> {

    List<Collectsecondarycomment> getCollectsecondarycommentsByUserId(Integer userId);


    int insertLikeComment(CollectSecondaryCommentSeconday collectSecondaryCommentSeconday);

    Integer getCommentLikeById(int secondaryCommentId);

    int updateCommentLike(int secondaryCommentId,int collectNum);

    int delCommentLike(CollectSecondaryCommentSeconday collectSecondaryCommentSeconday);

    CollectSecondaryCommentSeconday selectDataTf(CollectSecondaryCommentSeconday collectSecondaryCommentSeconday);

    List<CollectSecondaryCommentSeconday> selectAll(int pageNum,int pageSize);
}
